/* 全局从新定义element样式 */
/* .el-form-item__label,
.el-form-item__content,
.el-input__inner,
.el-input__icon {
    height: 34px !important;
    line-height: 34px !important;
} */
.el-form-item__content {
    line-height: 32px;
}

.el-table .el-table__cell {
    padding: 10px 0px;
}

.el-image {
    display: flex;
    align-items: center;
    justify-content: center;
    /* 可选 */
}

/* .el-dialog__body{
    border-top:1px solid #EBEEF5;
    box-sizing: border-box;
} */
@keyframes leftRightShake {
    0% {
        transform: translateX(3px);
        -webkit-transform: translateX(3px);
        -moz-transform: translateX(3px);
        -ms-transform: translateX(3px);
        -o-transform: translateX(3px);
    }

    20% {
        transform: translateX(-3px);
        -webkit-transform: translateX(-3px);
        -moz-transform: translateX(-3px);
        -ms-transform: translateX(-3px);
        -o-transform: translateX(-3px);
    }

    40% {
        transform: translateX(3px);
        -webkit-transform: translateX(3px);
        -moz-transform: translateX(3px);
        -ms-transform: translateX(3px);
        -o-transform: translateX(3px);
    }

    60% {
        transform: translateX(-3px);
        -webkit-transform: translateX(-3px);
        -moz-transform: translateX(-3px);
        -ms-transform: translateX(-3px);
        -o-transform: translateX(-3px);
    }

    80% {
        transform: translateX(3px);
        -webkit-transform: translateX(3px);
        -moz-transform: translateX(3px);
        -ms-transform: translateX(3px);
        -o-transform: translateX(3px);
    }

    100% {
        transform: translateX(0px);
        -webkit-transform: translateX(0px);
        -moz-transform: translateX(0px);
        -ms-transform: translateX(0px);
        -o-transform: translateX(0px);
    }
}

/* 公共色值区域 */
:root {
    /* 背景-蓝 */
    --bgDarkBlue: #1890FF;
    /* 背景-浅蓝 */
    --bgLightBlue: #F0FAFF;
    /* 背景-灰 */
    --bgGrey: #F5F5F5;
    /* 字体 */
    --fontDarkBlue: #2D9AF4;
    --fondGrey: #606266;
    /* 边框-灰色 */
    --borderGrey: #DCDFE6;
    --borderBlue: #1890FF;
}

.el-button:hover {
    animation: leftRightShake 0.5s;
    -webkit-animation: leftRightShake 0.5s;
}

/* 元素hover放大 */
.hover-amplify:hover {
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}

.hover-amplify:hover {
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -ms-transform: scale(1.5);
    -o-transform: scale(1.5);
}

.hover-amplify-shadow:hover {
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}

.hover-amplify-shadow:hover {
    box-shadow: -3px 5px 5px rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}

/* 强制不换行，确保文本在一行内显示 */
.ellipsis {
    white-space: nowrap;
    /* 确保文本在一行内显示 */
    overflow: hidden;
    /* 隐藏溢出的内容 */
    text-overflow: ellipsis;
    /* 使用省略号表示溢出的文本 */
}